package com;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

//@EnableAutoConfiguration
//@RestController
//@Import(WebConfig.class)
//@ComponentScan
@SpringBootApplication
@MapperScan("com.mapper")
public class MyStarter {
//    @RequestMapping("/index")
//    public String index(){
//        return "HelloWorld";//jar
//    }

    public static void main(String[] args) {
        SpringApplication.run(MyStarter.class,args);
    }
}
